import os
import django

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'meiduo.settings')
django.setup()

from django.core.mail import send_mail


"""
def send_mail(subject, message, from_email, recipient_list,
              fail_silently=False, auth_user=None, auth_password=None,
              connection=None, html_message=None):
"""
send_mail(subject="激活邮件",
          message='这是邮件内容',
          from_email='13303479527@163.com',
          recipient_list=['252319634@qq.com'] )